<div class="app ng-scope app-header-fixed" ng-controller="LoginController">
	<div class="fade-in-right-big smooth ng-scope">
		<div class="container w-xxl w-auto-xs">
			<a href class="navbar-brand block m-t">社区管理系统</a>

			<div class="m-b-lg">
				<div class="wrapper text-center"></div>
				<form name="form" class="form-validation">
					<div class="text-danger wrapper text-center" ng-show="auth.msg">{{auth.msg}}</div>
					<div class="list-group list-group-sm">
						<div class="list-group-item">
							<input type="text" placeholder="用户名" class="form-control no-border" ng-model="username" required>
						</div>
						<div class="list-group-item">
							<input type="password" placeholder="密码" class="form-control no-border" ng-model="password" required>
						</div>
					</div>
					<button type="submit" class="btn btn-lg btn-primary btn-block" ng-click="login()"
						ng-disabled='auth.buttonDisable || form.$invalid'>登录</button>
				</form>
			</div>
		</div>
	</div>
</div>
